package org.jeecg.modules.erp.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.erp.base.entity.ErpGoodsFormula;
import org.jeecg.modules.erp.base.vo.ErpGoodsFormulaPage;
import org.jeecg.modules.erp.base.entity.ErpGoodsFormula;
import org.jeecg.modules.erp.base.vo.ErpGoodsFormulaPage;

import java.util.List;

/**
 * @Description: 物料配方
 * @Author: jeecg-boot
 * @Date: 2024-05-22
 * @Version: V1.0
 */
public interface IErpGoodsFormulaService extends IService<ErpGoodsFormula> {

    IPage<ErpGoodsFormulaPage> goodsFormulaPage(Page<ErpGoodsFormula> page , ErpGoodsFormula model);

    void goodsFormulaSave(ErpGoodsFormula body);

    void goodsFormulaEdit(ErpGoodsFormula body);

    ErpGoodsFormula formula(String id);

    boolean deleteFormula(String id);

    boolean batchDelete(List<String> list);

}
